home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
csinst.zip
/
install.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-05-22
|
15KB
|
411 lines
ΓòÉΓòÉΓòÉ 1. Copyright ΓòÉΓòÉΓòÉ
(c) Copyright Janosch R. Kowalczyk, 1996.
myNstall is the universal small PM installation program for OS/2 from Janosch
R. Kowalczyk.
All rights reserved.
This program is Freeware. You can use this program for your own private
purposes, but you cannot change any of the contents with following exeptions:
1. Contents of the file INSTALL.DAT.
2. You can use your own help file, but you MUST enclose following chapters
from the existing INSTALL.HLP:
Author
Author's thanks
Copyright (this chapter)
Disclaimer
Introduction
Please send all bug reports and improvement suggestions to the author.
ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
The myNstall ([maj:]Nstall) is the universal smal installation PM-program.
It uses control words to arrange the installation process and gives you the
interface to your own Rexx routines, so that you can design the installation
process with more flexibility as you are now able to. Of course you can omit
all these controls and work with the default values as delivered.
If you want work without the control words, you can use this routine as is. It
copies almost all files (with exception of hidden and system files) from the
home directory into the selected destination directory.
myNstall revision history
ΓòÉΓòÉΓòÉ 2.1. myNstall revision history ΓòÉΓòÉΓòÉ
These are the new features that are added for the version 1.01 Beta of
myNstall.
Following keywords for the control file INSTALL.DAT was added:
1. WPS_ONLY_IF_EXIST= to hide/show the check box "Create WPS object only".
2. WELCOME_BUTTON=OKCANCEL | OK to show in the Welcome message of your
installation the buttons OK and Cancel or OK only.
3. WELCOME_TITLE= to set the Title for this message.
4. WELCOME= to set the message text. You can use multiple this keyword.
5. START_REXX_BY_OPEN_WINDOW= to start your own Rexx routine at the start of
installation process (Exit 1).
6. START_REXX_BY_START_INSTALL= to call your own Rexx routine after you
pressed the Install-Button but before the installation is starting (Exit
2).
7. START_REXX_BY_SUCCESSFUL= to start your own Rexx routine after the
successfully installation (Exit 3).
8. START_REXX_IF_FAILURE= to start your own Rexx routine if the installation
is failed (Exit 4).
9. START_REXX_BY_CLOSE_WINDOW= to start your own Rexx routine before you
exit the installation process (Exit 5).
10. DELETE_FILE= to delete a file from the destination directory before you
start the installation process. You can use multiple this keyword. It is
useful for the update installation.
11. REMOVE_DIR= to delete a subdirectory from the destination directory
before you start the installation process. You can use multiple this
keyword. It is useful for the update installation.
These are the new features that are added for the version 1.02 Beta of
myNstall.
1. DELETE_FILE_AFTER_INSTALLATION= to delete a file from the destination
directory after successfully installation
2. REMOVE_DIR_AFTER_INSTALLATION= to delete a subdirectory from the
destination directory after successfully installation.
ΓòÉΓòÉΓòÉ 3. System requirements ΓòÉΓòÉΓòÉ
myNstall requires approximately 200 kB (additional INSTALL.DAT) of disk space.
To use myNstall to install products, they must be the following on the
computer:
OS/2 version 2.x or higher,
Rexx support.
ΓòÉΓòÉΓòÉ 4. How does the myNstaller work? ΓòÉΓòÉΓòÉ
To use the myNstall copy following files into your products source
(installation) directory:
INSTALL.EXE
INSTALL.HLP
[INSTALL.DAT]
INSTALL.DAT is the control file with the keywords to control your installation
process. You don't need this file, if you will not use its features.
The myNstall unpacks almost all files (with exception of files with attributes
H (hidden) and S (system) from the home (source) directory into the current
destination directory.
See OS/2 UNPACK command for more info.
Note: If the current destination directory does not exist, it will be
created. You will be prompted for the confirmation.
The description of the WPS objects is situated in the file INSTALL.DAT. The
description records must be enclosed in parenthesis ( ). If you will be
creating a folder for other objects, it must be placed at the beginning of the
listing. For the syntax see the parameter list of the REXX function
SysCreateObject.
Note: You can only use one (1) line for one (1) description record. i.e.:
/*------(start WPS objects)-----*/
("WPFolder", title, location, associations, "r")
("WPProgram", title, location, associations, "r")
other descriptions record
other descriptions record
/*------(end WPS objects)-----*/
See chapter Control words (keywords) in this file for more information.
ΓòÉΓòÉΓòÉ 5. Control words summary ΓòÉΓòÉΓòÉ
The following are keywords to control the installation process:
1. DESTINATION=destination_directory_path
2. WPS_ONLY_IF_EXIST=file_name
3. WELCOME=welcome_message
4. WELCOME_TITLE=message_title
5. WELCOME_BUTTON={OK | OKCANCEL}
6. START_REXX_BY_OPEN_WINDOW=rexxcall
7. START_REXX_BY_START_INSTALL=rexxcall
8. START_REXX_BY_SUCCESSFUL=rexxcall
9. START_REXX_BY_FAILURE=rexxcall
10. START_REXX_BY_CLOSE_WINDOW=rexxcall
11. DEST_PATH (used by SysCreateObject and your own Rexx)
12. HOMEDIR (to be used by your own Rexx)
13. DELETE_FILE
14. REMOVE_DIR
See chapter Control words (keywords) for more details.
ΓòÉΓòÉΓòÉ 6. Control words (keywords) ΓòÉΓòÉΓòÉ
Note: You can write the keywords into the file INSTALL.DAT in any order!
In the follwing chapters are described keywords which you can use in the
control file INSTALL.DAT.
Remember: you can omit all these controls and work with default values only.
ΓòÉΓòÉΓòÉ 6.1. Destination path ΓòÉΓòÉΓòÉ
DESTINATION=destination_directory_path
This keyword identifies the record from file INSTALL.DAT which sets the name of
the standard destination directory.
If you omit this name, the root directory of the drive C: will be used.
You should omit the leading and ending backslashes and the drive character.
Default value: root directory of the drive C: (drive C: is always the default
drive. Everybody has the drive C: - isn't?).
Example: DESTINATION=TOOLS\INSTALL
ΓòÉΓòÉΓòÉ 6.2. Create WPS object only ΓòÉΓòÉΓòÉ
WPS_ONLY_IF_EXIST=file_name
The Installer is able to recreate the damaged WPS-Objects for your
installation. It does this, if the Check Box Create WPS objects only is
selected. But it is not necessary to show this box if the user is doing his
first installation. You can hide this Check Box for the installation window, if
you use this keyword. This box will be showed, if the file file_name is present
in the destination directory.
Default value: no - the check box will be showed
Example: WPS_ONLY_IF_EXIST=GREED.EXE
ΓòÉΓòÉΓòÉ 6.3. Welcome keywords ΓòÉΓòÉΓòÉ
These keywords help you to personify the start of the install procedure. There
are 3 WELCOME-keywords:
1. WELCOME=welcome_message
This keyword allows you to show the text of welcome_message before your
installation starts. You can use multiple WELCOME= keywords for one
message. Each WELCOME= message gives you a new line in the message box.
Additionally you can use '\n' (like C) in the message line for Line
Feed.
Note: You must have used at least one WELCOME= message before you can
use the WELCOME_TITLE and WELCOME_BUTTON keywords.
Default value: No - no message box.
Example:
WELCOME=Welcome to the Installation of "GREED"\nVersion 2.0 Beta.\n\n